<?php


	require_once ("controller/LoginController.php");
	require_once ("model/SessionModel.php");

	//If user is returning, welcome user with name
	if (isset($_SESSION["thisSession"]["Session_Name"]))
	{
		$returningName =$_SESSION["thisSession"]["Session_Name"];
	}
	else
	{
		$returningName = null;
	}

	//New controller to handle the events occuring during a login process
	$controller = new \controller\LoginController($returningName);

	echo $controller->startMyApplication();
